package cn.edu.zafu.bigdata.sxa;

public class ResizableCircle implements Movable, Resizeable {
    private double radius;

    public ResizableCircle(double radius) {
        this.radius = radius;
    }


    public void move() {
        System.out.println("The circle is moving.");
    }


    public void stop() {
        System.out.println("The circle has stopped.");
    }


    public void resize(double factor) {
        radius *= factor;
        System.out.println("The circle's radius after resizing is: " + radius);
    }
}
